Skip to content

Conversation

Dieterbe
Copy link
Contributor

@Dieterbe Dieterbe commented Jun 27, 2025

support for plan start & end dates.
show stats on NP list page

image

Needs wger-project/wger#1997

Dieterbe added 7 commits June 28, 2025 16:26
used on:
* overall delta's in the NP list
* the NP and last30day charts (and their overall delta's)

We display them on the respective charts to make it
more consistent, but in this case, we add a small tooltip indicator to
avoid user confusion
@Dieterbe Dieterbe force-pushed the nutrition-plan-stats branch from b269ee3 to d4a272c Compare June 28, 2025 19:52
Dieterbe and others added 3 commits June 28, 2025 21:59
# Conflicts:
#	lib/models/nutrition/nutritional_plan.g.dart
#	lib/widgets/measurements/charts.dart
#	lib/widgets/measurements/entries.dart
#	lib/widgets/weight/weight_overview.dart
* Date values are now localized
* Remove text controllers since we were setting the values in the plan
  object directly as well as setting them in the controllers anyway. Note
  that this is still not an ideal solution since if we change something
  in the form and close it, the changes are still reflected in the UI, just
  not preserved to the server.
 * Move basic date sanity cheks to the model
rolandgeider added a commit to wger-project/wger that referenced this pull request Sep 17, 2025
This just sets each user's nutrition plan to the start date of their next
one and should just make the nutritional plan stats ( wger-project/flutter/pull/855 )
get a bit less crowded since not all plans since the beginning of time should
show up in the comparison view.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants